//
//  UILabel+Extension.swift
//  WeiBo
//
//  Created by tusm on 2017/6/21.
//  Copyright © 2017年 GM. All rights reserved.
//

import UIKit

extension UILabel{
    
    
    convenience init(title:String, labelFont: CGFloat = 14.0, color:UIColor = UIColor.darkGray) {
        
        self.init()
        
        text = title
        font = UIFont.boldSystemFont(ofSize: labelFont)
        numberOfLines = 0
        textAlignment = .center
        textColor = color
        
    }
}
